const a =async function (_, _01, { dc: { http, store }, dayjs }) {
  const year = dayjs(store.get("user", "date")).format("YYYY");
  console.log("year", year);
  if (!year) return { items: [] };
  const data = await http.post({
    url: '/dc/data/load/1800433106502103041',
    data: {year},
  });
  console.log("datadata", data);
  return data;
};

const d = function ({ transfer: { type = "" } }, { $grid, xe: { get } }) {
  $grid.getColumns().map(({ params, field }) => {
    const isDynamic = field && get(params, "ui.custom.dynamic", false);
    if (isDynamic) $grid.hideColumn($grid.getColumnByField(field));
  });
  if (type == "yszx")
    ["MONEY", "MONEY2", "MONEY3", "MONEY4", "ZXL"].map(function (col) {
      $grid.showColumn($grid.getColumnByField(col));
    });
};